package xyz.zhzby.cyzx.cms.service;

import xyz.zhzby.cyzx.cms.entity.ArticleChannel;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 文章与文章分类关联 服务类
 * </p>
 *
 * @author zby
 * @since 2021-12-10
 */
public interface IArticleChannelService extends IService<ArticleChannel> {

    void linkArticleChannel(Long id, List<String> channelIds);

    Integer getArticleCountByChannelId(Long id);

    void deleteLinkByChannelId(Long channelId);

    List<Long> getArticleIdsByChannelId(Long channelID);
}
